package com.cloudfun.msglisten.ws.haier;

import javax.websocket.EncodeException;
import javax.websocket.Encoder;
import javax.websocket.EndpointConfig;

public class TextEncoder implements Encoder.Text<String>{

    @Override
    public void init(EndpointConfig config) {
    }

    @Override
    public void destroy() {
    }

    @Override
    public String encode(String object) throws EncodeException {
        return object;
    }
}
